package com.sinog.alarm.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;

/**
 * @desc 记录系统日志信息
 * @author wangxj
 * @date -
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("system_info")
public class SystemInfo extends Model<SystemInfo> {

    /**
     * 制造商
     */
    private String manufacturer;
    /**
     * 型号
     */
    private String model;
    /**
     * 序列号
     */
    private String serialNumber;
    /**
     * 固件制造商
     */
    private String gjManufacturer;
    /**
     * 固件名称
     */
    private String gjName;
    /**
     * 固件描述
     */
    private String gjDescription;
    /**
     * 固件有效期
     */
    private String gjReleaseDate;
    /**
     * 固件版本
     */
    private String gjVersion;
    /**
     * 总线制造商
     */
    private String zxManufacturer;
    /**
     * 总线型号
     */
    private String zxModel;
    /**
     * 总线版本
     */
    private String zxVersion;
    /**
     * 总线序列号
     */
    private String zxSerialNumber;
    /**
     * cpu物理 physical CPU(s)
     */
    private Integer cpuPhysicalProcessorCount;
    /**
     * cpu逻辑 logical CPU(s)
     */
    private Integer cpuLogicalProcessorCount;
    /**
     * cpu标识
     */
    private String cpuIdentifier;
    /**
     * cpu序列号
     */
    private String cpuProcessorId;
    /**
     * 已使用内存
     */
    private long ncAvailable;
    /**
     * 总共内存
     */
    private String ncTotal;
    /**
     * Swap used:{}
     */
    private String ncSwapUsed;
    /**
     * Swap 总内存
     */
    private String ncSwapTotal;
    /**
     * 操作系统启动时间
     */
    private String xtSystemUptime;
    /**
     * CPU, IOWait, and IRQ ticks @ 0 sec:{}
     */
    private String xtPrevTicks;
    /**
     * CPU, IOWait, and IRQ ticks @ 1 sec:{}
     */
    private String xtTicks;
    /**
     * user
     */
    private long xtUser;
    /**
     * nice
     */
    private long xtNice;
    /**
     * sys
     */
    private long xtSys;
    /**
     * idle
     */
    private long xtIdle;
    /**
     * iowait
     */
    private long xtIoWait;
    /**
     * irq
     */
    private long xtIrq;
    /**
     * softirq
     */
    private long xtSoftirq;
    /**
     * steal
     */
    private long xtSteal;
    /**
     * totalCpu
     */
    private long xtTotalCpu;
    /**
     * loadAverage
     */
    private String xtLoadAverage;
    /**
     * procCpu
     */
    private String xtProcCpu;
    /**
     * 文件系统
     */
    private String wjFileDescriptors;
    /**
     * Host name
     */
    private String wlHostName;
    /**
     * Domain name
     */
    private String wlDomainName;
    /**
     * DnsServers
     */
    private String wlDnsServers;
    /**
     * Host name
     */
    private String wlIpv4DefaultGateway;
    /**
     * Host name
     */
    private String wlIpv6DefaultGateway;
    /**
     * 各省code编码
     */
    private String localCode;
    /**
     * 创建时间
     */
    private Date createTime;
}